package com.yungu.swift.system.sys.dao;

import com.yungu.swift.system.sys.model.dto.SysBusinessDto;
import com.yungu.swift.base.mapper.IMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * SystemBusinessMapper数据库操作接口类
 **/

public interface SysBusinessMapper extends IMapper<SysBusinessDto> {

    /**
     * getBusinessUuidByType
     *
     * @param type Integer
     * @return String
     */
    String getBusinessUuidByType(@Param("type") Integer type);

    /**
     * 校验开通级别
     * @param paraMap
     * @return
     */
    int checkOpenLevel(Map<String,Object> paraMap);
}